package Api.food;

import com.cuit.food.DTO.RestruantDTO;
import com.cuit.food.Food;
import com.cuit.food.Usercomment;
import common.result.ResponseResult;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;

@Api(tags = "食品")
public interface DFoodApi {

    @ApiOperation("一日三餐推荐食品")
    ResponseResult findRecommendFood();

    @ApiOperation("多条件查询食物")
    ResponseResult foodList(Food food);

    @ApiOperation("返回所有食物")
    ResponseResult allFood();

    @ApiOperation("添加评论")
    ResponseResult addComment(Usercomment usercomment);

    @ApiOperation("获取饭店位置")
    ResponseResult getResturantLocation(String rest_id);

    @ApiOperation("返回饭店列表")
    ResponseResult findAllResturant();

    @ApiOperation("店铺详细信息")
    ResponseResult findResturantDetail(String id);
}
